package com.ec.file.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 阿里云OSS配置
 * </p>
 *
 * @author Eric Lee
 * @since 2019-07-18 15:11
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "oss")
public class AliyunOssProperties {

    private String bucketName;

    private String endPoint;
    /**
     * key
     */
    private String accessKeyId;

    /**
     * secret
     */
    private String accessSecret;

}
